package com.sky.mapper;

import com.sky.dto.DishDTO;
import com.sky.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishFlavorMapper {

    /*
     *
     * 新增菜品口味
     *
     * */
    void insertBatch(List<DishFlavor> flavors);


    /*
     *
     * 删除菜品口味
     *
     * */
    void delete(List<Long> ids);


    /*
     *
     * 根据菜品id查询菜品口味
     *
     * */
    List<DishFlavor> selectByDishId(Long id);


}
